﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Commons {
    public interface IHairStyle {

        /// <summary>
        /// Insert new HairStyleEnt
        /// </summary>
        /// <param name="item">HairStyleEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Insert(HairStyleEnt item);
        /// <summary>
        /// Update HairStyleEnt
        /// </summary>
        /// <param name="item">HairStyleEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Update(HairStyleEnt item);
        /// <summary>
        /// Delete a HairStyleEnt
        /// </summary>
        /// <param name="iD">ID of HairStyleEnt need to be deleted</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Delete(short iD);

        /// <summary>
        /// Get all HairStyleEnt
        /// </summary>
        /// <returns>return a list of HairStyleEnt (empty list if no HairStyleEnt exists)</returns>
        List<HairStyleEnt> GetAll();
    }
}
